class CreatePages < ActiveRecord::Migration
  def self.up
    create_table :pages do |t|
      t.string :title, :null => false
      t.text :content
      t.boolean :do_hide, :default => false
      t.boolean :is_enabled, :default => false
      t.boolean :is_featured, :default => false
      t.boolean :shown_in_footer, :default => false

      t.timestamps
    end
  end

  def self.down
    drop_table :pages
  end
end
